package com.dcm.item.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author PengRongSheng
 * @date 2021/3/25
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CategoryEntity implements Serializable {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "类别名称")
    private String name;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;
    /**
     * 图片
     */
    private String images;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer ssort;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String  status;

    /**
     * 父级分类
     */
    @ApiModelProperty(value = "父级分类id")
    private Long pid;
}
